package net.chasing.androidbaseconfig.util.thread;

import androidx.annotation.NonNull;

public abstract class ComparableRunnable implements Runnable, Comparable {
    @Override
    public int compareTo(@NonNull Object o) {
        if (hashCode() == o.hashCode())
            return 0;
        return hashCode() > o.hashCode() ? 1 : -1;
    }
}
